﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Happy.Cms.Domain.Shares;
using Happy.Cms.Query.Shares;

namespace Happy.Cms.Application.Shares
{
    public static class IImageInfoViewExtentions
    {
        public static void UpdateImageInfo(this IImageInfoView that, ImageInfo imageInfo)
        {
            imageInfo.Title = that.ImageInfo_Title;
            imageInfo.Url = that.ImageInfo_Url;
        }
    }
}
